<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ taglib uri="/tags/struts-bean" prefix="bean"%>
<%@ taglib uri="/tags/struts-html" prefix="html"%>
<%@ taglib uri="/tags/struts-logic" prefix="logic"%>
<html:html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>毛利统计</title>
	<META http-equiv=Pragma content=no-cache>
	<META http-equiv=Cache-Control content=no-cache>
	<META http-equiv=Expires content=0>
	<link rel="stylesheet"
		href="<%=request.getContextPath()%>/resource/css/style.css"
		type="text/css">
	<script language="javascript" type="text/javascript"
		src="<%=request.getContextPath()%>/style/scripts/util.js"></script>
	<script type="text/javascript"
		src="<%=request.getContextPath()%>/style/scripts/load.js"></script>
	<script language="javascript" type="text/javascript"
		src="<%=request.getContextPath()%>/resource/js/AdyhUtil.js"></script>
	<script language="javascript" type="text/javascript"
		src="<%=request.getContextPath()%>/resource/calendar/DCDA_C03.js"></script>
	<link rel="stylesheet" type="text/css"
		href="<%=request.getContextPath()%>/style/ext/resources/css/ext-all.css" />
	<script type="text/javascript"
		src="<%=request.getContextPath()%>/style/ext/adapter/ext/ext-base.js"></script>
	<script type="text/javascript"
		src="<%=request.getContextPath()%>/style/ext/ext-all.js"></script>
	<script type="text/javascript">
	function getMessage() {
	var errorMsg = document.forms[0].errorFlag.value;
	if ("" != errorMsg) {
		//**操作成功！*/
		if (errorMsg == 0) {
			alert("<bean:message key="common.alert1"/>");
		}
		//**操作失败！*/
		if (errorMsg == 1) {
			alert("<bean:message key="common.alert2"/>");
		}
		//**查询无结果！*/
		if (errorMsg == 2) {
			alert("<bean:message key="common.alert3"/>");
		}
		//**系统异常，请联系管理员！*/
		if (errorMsg == 3) {
			alert("<bean:message key="common.alert4"/>");
		}
		if (errorMsg == 5) {
			alert("<bean:message key="common.alert5"/>");
		}
		if (errorMsg == 6) {
			alert("<bean:message key="common.alert6"/>");
		}
		if (errorMsg == 7) {
			alert("<bean:message key="common.alert7"/>");
		}
		document.forms[0].errorFlag.value = "";
	}
}
function download(str){
		var urlexcel = document.forms[0].urlexcel.value;
		if(urlexcel.length>0){
			document.forms[0].operationType.value = str;
			document.forms[0].submit();
		}else{
		alert("<bean:message key="report.null"/>");
		}
}
function operation(type) {
				sAlert();
	document.forms[0].operationType.value = type;
	document.forms[0].submit();
}
	</script>
</head>
<body onLoad="getMessage();">
	<html:form method="post" action="/pages/F06/F060102.do"
		enctype="multipart/form-data">
		<html:hidden property="operationType" />
		<html:hidden property="errorFlag" />
		<html:hidden property="id" />
		<html:hidden property="id1" />
		<html:hidden property="urlexcel" />
		<html:hidden property="filename" />
		<!--Begin：表单折叠区块1-->
		<div id="divDlock_2" class="DivBlock">
			<div class="DivHead">
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td nowrap class="line_wrap" width="37" height="17">
							<img
								src="<%=request.getContextPath()%>/resource/image/block_unwrap.gif"
								style="CURSOR: hand;" alt="展开/折叠"
								onClick="JavaScript:WrapBlock('divDlock_2');">
						</td>
						<td nowrap class="line_wrap" width="100%" height="17">
							<span class="SpanTitle"><bean:message key="report.gross" /></span>
						</td>
					</tr>
				</table>
			</div>
			<div class="DivTail" style="display:block">
				<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
					<TR>
						<!--签订时间-->
						<TD ALIGN="right">
							<bean:message key="F010102.signaure_date" />
						</TD>
						<TD NOWRAP>
							<html:select property="signaure_date_year" styleClass="MySelect">
								<html:option value="2009">2009</html:option>
								<html:option value="2010">2010</html:option>
								<html:option value="2011">2011</html:option>
								<html:option value="2012">2012</html:option>
								<html:option value="2013">2013</html:option>
								<html:option value="2013">2014</html:option>
								<html:option value="2013">2015</html:option>
								<html:option value="2013">2016</html:option>
								<html:option value="2013">2017</html:option>
								<html:option value="2013">2018</html:option>
								<html:option value="2013">2019</html:option>
								<html:option value="2013">2020</html:option>
							</html:select>
						</TD>
					</TR>
				</TABLE>
			</div>
		</div>
		<!--End：表单折叠区块1-->
		<!--Begin：表单按钮及提示区-->
		<div class="DivBlock">
			<div class="DivButton" style="text-align:right ">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td align="right">
							<input type="button" name="Submit1" class="MyButton"
								value="<bean:message key="report.create"/>"
								onClick="javascript:operation('createdatefile');">
							<input type="button" name="Submit1" class="MyButton"
								value="<bean:message key="common.Download"/>"
								onClick="javascript:download('download');">
							<input type="button" name="Submit2" class="MyButton"
								value="<bean:message key="common.back"/>"
								onClick="window.location='../../frame/blank.html'" />
						</td>
					</tr>
				</table>
			</div>
		</div>
		<!--End：表单按钮及提示区-->
	</html:form>
</body>
</html:html>
<script language="javascript" type="text/javascript">
InitForm();
FocusTableRow("tbList",1);
</script>
